﻿using System;
using System.ComponentModel.DataAnnotations;

namespace NHibernate.Identity
{
    public class IdentityUserLogin
    {
        public IdentityUserLogin()
        {
            Id = Guid.NewGuid().ToString();
        }

        [Key]
        public virtual string Id { get; set; }

        public virtual string LoginProvider { get; set; }

        public virtual string ProviderKey { get; set; }

        public virtual IdentityUser User { get; set; }
    }
}